<div class="sideBar content vote">
  <form name="myform" id="myform"  action="{APP_PATH}index.php?m=vote&c=index&a=post&subjectid={$subjectid}" method="post" target="_blank">
    <div class="title"> <img src="{IMG_PATH}default/icon (2).png" />
      <h6>网上调查</h6>
    </div>
    <div class="clear"></div>
    <div class="sideBarBox toupiao" style="height:190px;">
      <p>{$subject}</p>
      <input type="hidden" name="subjectid" value="{$subjectid}">
      {loop $options $r}
      {$i++}
      {if $vote_data['total']==0 }
      {php $per=0;}
      {else}
      {php $per=intval($vote_data[$r['optionid']]/$vote_data['total']*100);}
      {/if}
      <p>
        <input type={if $ischeckbox=='0'}"radio"{else}"checkbox"{/if} name="radio[]" id="radio" value="{$r['optionid']}" {$check_status}/>
        <label>{$r['option']}</label>
      </p>
      {/loop}
      <input type="submit" class="Button" value="提交">
      <!-- <a href="{APP_PATH}index.php?m=vote&c=index&a=result&subjectid={$subjectid}&siteid={$siteid}">[查看结果]</a> --> 
    </div>
  </form>
</div>
